/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hyperbeam.Figuras;

/**
 * Representación de un color
 * @author Programmer
 */
public class Color {
    int red;
    int blue;
    int green;

    public int getBlue() {
        return this.blue;
    }

    public int getGreen() {
        return this.green;
    }

    public int getRed() {
        return this.red;
    }

    public void setBlue(int blue) {
        this.blue = blue;
    }

    public void setGreen(int green) {
        this.green = green;
    }

    public void setRed(int red) {
        this.red = red;
    }

    public void setRGB( int red, int green ,int blue){
        this.red = red;
        this.blue = blue;
        this.green = green;
    }

    public Color(int red, int green ,int blue) {
        this.red = red;
        this.blue = blue;
        this.green = green;
    }

    public Color() {
        this.red   = 0;
        this.blue  = 0;
        this.green = 0;
    }
}
